<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no">
  <title>与我们互动</title>
  <link href="/static/css/bootstrap.css" rel="stylesheet">
  <script src="/static/js/jquery-1.11.2.min.js"></script>
  <script src="/static/js/bootstrap.min.js"></script>
  <script src="/static/js/bootstrap.file-input.js"></script>
  <script src="/static/js/obj2json.js"></script>
  
  <script src="/static/js/mustache.min.js"></script>
  
  <link href="/static/css/quan-badge.css" rel="stylesheet">
  <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

  <script type="text/javascript" src="/static/js/raphael-min.js"></script>

</head>

<body>
<nav class="navbar navbar-default" role="navigation">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="/"><span class="glyphicon glyphicon-inbox"></span> Talk</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li><a href="/nickname/">进入对话</a></li>
      </ul>
      {% ifnotequal request.META.PATH_INFO '/nickname/' %}
      <ul class="nav navbar-nav">
        <li><a href="/session/">切换会话</a></li>
      </ul>
      {% endifnotequal %}
      <ul class="nav navbar-nav navbar-right">
        <li><a href="http://shiyiquan.net/club/hcc-computer-community/"><span class="glyphicon glyphicon-heart"></span> An HCC Project.</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

{% block content %}
{% endblock %}

</body>
</html>
